printElement(int element) {
  print(element);
}

main(){
    var candidates = ['1', '2', '3'];
    for (int i = 0; i < candidates.length; i++) {
    var candidate = candidates[i];
    if (candidate.yearsExperience < 5) {
        continue;
    }
    candidate.interview();
}
}
